/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package shared;

import java.io.Serializable;



/**
 *
 * @author eric
 */
public class ServerRequest implements Serializable{

    private RequestType type;
    private int sequenceNumber;
    private FileInfo fileInfo;
    private String fileName;
    int offset;

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    /**
     * @return the type
     */
    public RequestType getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(RequestType type) {
        this.type = type;
    }

    /**
     * @return the sequenceNumber
     */
    public int getSequenceNumber() {
        return sequenceNumber;
    }

    /**
     * @param sequenceNumber the sequenceNumber to set
     */
    public void setSequenceNumber(int sequenceNumber) {
        this.sequenceNumber = sequenceNumber;
    }

    /**
     * @return the fileInfo
     */
    public FileInfo getFileInfo() {
        return fileInfo;
    }

    /**
     * @param fileInfo the fileInfo to set
     */
    public void setFileInfo(FileInfo fileInfo) {
        this.fileInfo = fileInfo;
    }

    /**
     * @return the fileName
     */
    public String getFileName() {
        return fileName;
    }

    /**
     * @param fileName the fileName to set
     */
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

   

}
